package com.woniuxy.service;

import com.woniuxy.entity.RbacManager;
import com.woniuxy.entity.ResponseEntity;

import java.util.Set;

public interface ManagerLoginService {
    /**
     * @Description: 登录认证用的！
     * @param rbacManager 用户账号和密码
     * @return com.woniuxy.entity.ResponseEntity
     */
    ResponseEntity login(RbacManager rbacManager);
    /**
     * @Todo: 通过用户名查询密码，用于token认证！
     * @param username
     * @return java.lang.String
     */
    String findPassword(String username);

    Set<String> findAllRoles(String username);

    Set<String> findAllPerms(String username);
}
